package top.someapp.dxf2dsvg.entity;

import top.someapp.dxf2dsvg.base.Point;

import javax.annotation.Nonnull;

/**
 * @author zwz
 * Created on 2020-04-19
 */
public abstract class EntityBase implements Entity {
    Point basePoint;

    public EntityBase() {
    }

    @Override
    public Point getBasePoint() {
        return basePoint == null ? new Point() : basePoint;
    }

    @Override
    public void setBasePoint(@Nonnull Point basePoint) {
        this.basePoint = basePoint;
    }

}
